<div class="contents">
  <ol class="breadcrumb">
    <li><a href="#/index/panel">首页</a></li>
    <li class="active">活动列表</li>
  </ol>
  <table class="table table-striped table-hover">
    <thead>
      <tr>
        <th width="40">ID</th>
        <th width="150">活动举办方</th>
        <th width="">活动名称</th>
        <th width="80">开始时间</th>
        <th width="80">结束时间</th>
        <th width="80">活动状态</th>
        <th width="80">报名人数</th>
        <th width="80">已报名人数</th>
        <th width="80">操作</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="a in acts">
        <td>{{a.id}}</td>
        <td>{{a.activitiesHost}}</td>
        <td>{{a.activitiesTitle}}</td>
        <td>{{a.activitiesStartTime | date:'yyyy-MM-dd'}}</td>
        <td>{{a.activitiesEndTime | date:'yyyy-MM-dd'}}</td>
        <td>{{a.activitiesStatus | activitiesStatusRender}}</td>
        <td>{{a.activitiesTotalPerson}}</td>
        <td>
        <a  ng-click="changeShow(a.id)">{{a.activitiesNowPerson}}</a>
        
        </td>
        <td>
          <a href="#/ad/act-update?id={{a.id}}">修改</a>
        </td>
      </tr>
    </tbody>
  </table>

  <div class="pager-box" ng-include src="'tpl/public/pager.html'" ng-show="acts.length > 0"></div>
</div>


<!-- 活动个人数 -->

<div class="layer-box" ng-show="isShowOrder"  >
  <div class="layer-bg"></div>

  <div class="layer-con " style="padding:10px 20px; width:640px;height:385px;">
    <span class="icons-close" title="关闭" ng-click="isShowOrder = false;">X</span>
    <div class="layer-title">
      <label >已报名人数</label>
    </div>
    <div style="padding:10px 20px; width:620px;height:350px;overflow: scroll">
    
    <div class="con-wrap">
      <div class="form-group" >

<div ng-if="actPres==''">
<table class="order-f-h ziliaoshangchuan" style="width:100%">
          <tr >
            <td >
              姓名
            </td>
            <td >
              手机
            </td>
            <td >
              公司
            </td>
            <td >
              职位
            </td>
          </tr>

          
        </table>


  无报名记录
</div>
<div ng-if="actPres.length>0">
        <table class="order-f-h ziliaoshangchuan" style="width:100%">
          <tr >
            <td >
              姓名
            </td>
            <td >
              手机
            </td>
            <td >
              公司
            </td>
            <td >
              职位
            </td>
          </tr>
          <tr ng-repeat="bean in actPres">
            <td >
            {{bean.personName}}
            </td>
            <td >
             {{bean.personMobile}}
            </td>
            <td >
             {{bean.personCompany}}
            </td>
            <td >
              {{bean.personJob}}
            </td>
            
          </tr>
          
        </table>
        <div >
      </div>
    </div>
    </div>
  </div>
</div> 